<?php 
$menuPath = 'content/stopka.xml';
$menuItems = getMenuItems($menuPath, $_SESSION['lang']);

$currentMenuPath = getCurrentMenuPath();
?>

<div class="footer">
    <?php 
        foreach ( $menuItems as $key=>$val ) {           
    ?>
    <div class="footerLink"><a href="<?php echo $APP_PATH.$val -> path;?>"><?php echo $val -> title;?></a></div>
    <?php       
        }
    ?>

</div>
